package com.erp.app.catalog.catgroup.pk;

import com.erp.framework.model.pk.SimpleSearchMaintStylePk;

import java.io.Serializable;
import java.math.BigDecimal;


public class CatalogGroupPK extends SimpleSearchMaintStylePk{
	
  public BigDecimal nodeId;

  public CatalogGroupPK() {

  }

  public BigDecimal getNodeId() {
      return nodeId;
  }

  public CatalogGroupPK(BigDecimal nodeId) {

      this.nodeId = nodeId;
  }

  public boolean equals(Object obj) {
      if (obj instanceof CatalogGroupPK) {
          CatalogGroupPK pk2 = (CatalogGroupPK) obj;
          return (nodeId.equals(pk2.nodeId));
      }
      return false;
  }

  public int hashCode() {
      return (nodeId).hashCode();
  }

  public String toString() {
      return "{nodeId = " + this.nodeId + "}";
  }

}
